<template>
  <div>
    <button @click="click">原生事件</button>
  </div>
</template>

<script>
  export default {
    name: "native-event",
    data: function(){
      return {

      }
    },
    methods: {
      click: function () {
        this.$emit('click', 'msg');
      }
    }
  }
</script>

<style scoped>

</style>
